<?php
	require_once('./application/models/lessenModel.php');
	class item_lessen extends item_abstract
	{
		protected $myModel;
		protected function init()
		{
			$this -> information['les_path'] = '';
			$this -> information['les_file'] = '';
			$this -> myModel = lessenModel::getInstance($this -> Db);	
		}	
		public function insert()
		{
			$this -> myModel -> addlessen($this);
		}
		public function update()
		{
			$this -> myModel -> updLessen($this);
		}
		public function verwijder()
		{
			$this -> myModel -> delLessen($this);
		}
		public function fill()
		{
			return $this -> myModel -> getLessenId($this);
		}
	}
	
?>